<template>
  <div
    v-if="isVisable"
    class="fixed left-0 top-0 bottom-0 right-0 w-screen h-screen z-20 bg-white dark:bg-zinc-800 overflow-y-auto overflow-x-hidden"
  >
    <div>
      <check-lis v-if="currentPins.moduleName === 'LIS'"></check-lis>
      <exam-detail v-else />
    </div>
  </div>
</template>

<script setup lang="ts">
import examDetail from '@/views/examDetail/index.vue'
import checkLis from '@/views/checkLis/index.vue'
import { watch, computed, nextTick } from 'vue'
type CurrentPins = {
  id: string
  moduleName: string
}

const props = defineProps<{
  isVisable: Boolean
  currentPins: CurrentPins
}>()
</script>
